import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
import host_go from "./host/host_go"
let model = "ts_user_finance"
const request = {
    user_finance_list(params, callback) {
        params.model = model
        http.post(host_one + "/modellist", params, callback)
    },
  user_account_log_list(params, callback) {
    params.model = model
    http.post(host_go + '/accountloglist', params, callback)
  },
  user_account_log_detail(params, callback) {
    params.model = model
    http.post(host_go + '/accountlogdetail', params, callback)
  },
    add_user_finance(params, callback) {
        params.model = model
        http.post(host_one + "/modeladd", params, callback)
    },
    edit_user_finance(params, callback) {
        params.model = model
        http.post(host_one + "/modelupdate", params, callback)
    },
    delete_user_finance(params, callback) {
        params.model = model
        http.post(host_one + "/modeldelete", params, callback)
    },
    detail_user_finance(params, callback) {
        params.model = model
        http.post(host_one + "/modeldetail", params, callback)
    }
}
export default request;
